package com.thirteen.app.dao;

import com.thirteen.app.dto.JudgeDto;
import com.thirteen.app.dto.JudgeSubjectiveResquest.JudgeByPersonDto;
import org.apache.ibatis.annotations.Param;

public interface JudgeDao {

    //    插入一条批阅后的客观题批阅记录
    Boolean insertJudgeByMachine(@Param("judgeDto") JudgeDto judgeDto);

    //    插入一条批阅后的客观题批阅记录
    Boolean insertJudgeByPerson(@Param("judgeByPersonDto") JudgeByPersonDto judgeByPersonDto);

    //    查询小题得分
    Integer queryActualScore(@Param("examRecordId") Integer examRecordId, @Param("questionId") Integer questionId);

    //    查询小题得分
    Boolean queryQuestionIsRight(@Param("examRecordId") Integer examRecordId, @Param("questionId") Integer questionId);
}
